Presenters: John VanDyk Track: community and core Proceedings Have Been Posted: no Session Description:
As part of its mission to eliminate the web developer, Drupal 6 introduces a new API for Drupal actions: code that can be dynamically associated with different Drupal hooks, yet with a user interface easy enough to be set up by a semi-savvy administrator. This session will walk you through the new API and leave you confident about writing your own actions. It is geared toward developers who want to quickly get up to speed on this new API.
We will cover both the actions and triggers that are available in core and how to write your own.
AGENDA * Introduce the idea of actions * Learn how to write an action and describe it to Drupal * Introduce the idea of triggers * Show how triggers and actions work together * Learn how to define your own triggers * A brief look at the future: conditional actions
GOALS The goal of this session is to demystify actions and triggers and make them accessible to developers.
RESOURCES No prior experience with actions is necessary. PHP familiarity is expected and Drupal module development experience is helpful. If you want to get a head start, read the module developer’s page on Writing actions (Drupal 6.x).
PRESENTER John VanDyk wrote the actions module for Drupal 4.7 and 5, which led to the redesign of the module and its inclusion in Drupal 6. He is the co-author of Pro Drupal Development.